home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1999 March / EnigmA AMIGA RUN 35 (1999)(G.R. Edizioni)(IT)[!][issue 1999-03].iso / earcd / devel / wild / appunti / wildengineer.txt < prev    next >
Text File  |  1999-01-01  |  2KB  |  35 lines

  1. WildEngineer is a sublib of wild, like WildPrefs.
  2.  
  3. It will be used to provide support funcs like Modules finding,
  4. engine repairing and anything will come.
  5.  
  6. Maybe i'll move the LoadModule & KillModule management here...
  7.  
  8. Functions:
  9.  
  10. HaveModuleInfo(tags).    This structure will return an info about the module,
  11.             more to define. I'll need to know about the Types.
  12. FreeModuleInfo(minfo).    This will free the buffer allocated by HaveModuleInfo.
  13. HaveBestModules(tags).    This will return a LIST of modules,all the ones wich fit
  14.             in the description gave by tags. If some tags are not
  15.             restrictive but just indicative (Speed,Quality...) they
  16.             are sorted from the best to the worst.
  17.             MUST specify ONE type: use the WIAP_??Module set to TRUE
  18.             to select.
  19. FreeBestModules(bm).    This will free the buffer allocated by HaveBestModules.
  20. HaveEngineCheck(wapp).    This will check if the engine is working (all modules
  21.             well initialized, all modules compatible...).
  22.             If bad, will return a structure describing the problems.
  23. FreeEngineCheck(ec).    This will free the buffer allocated by HaveEngineCheck.
  24. RepairEngine(wapp,tags).Will call checkengine, and then repair the engine by
  25.             flushing useless modules and loading the right ones.
  26.             The tags can define your preferences in the modules
  27.             selecting and flushing, by using indicative tags (Speed,
  28.             Quality) and giving a score to the Modules (with the STD
  29.             WIAP_??Module tags): if there are multiple soluctions, 
  30.             will be used the one keeping your preferred modules, if
  31.             possible.
  32. LoadModule(tags).    Future: do here the Module loading, WITH TAGS!
  33. KillModule(module).    Future: do here the Module killing.
  34.  
  35.